package com.iot.ic.modules.service;

import com.iot.ic.modules.model.Accounts;
import com.iot.ic.modules.model.Amounts;
import com.iot.ic.modules.model.User;

import java.util.List;
import java.util.Map;

/**
 * 用户金额
 */
public interface AmountService {
    Amounts findAmountByUid(Integer userId) throws Exception;

    Amounts updateAmountState(Integer userId, Integer state) throws Exception;

    List<Accounts> findAccountByUid(Integer userId) throws Exception;

    Accounts saveOrUpdateObject(Accounts accounts) throws Exception;
}
